package com.ruoyi.map.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 鱼类管理对象 fh_map_fishtype
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
@ApiModel(value = "FhMapFishtype",description = "鱼类信息实体")
public class FhMapFishtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("鱼类id")
    private Long id;

    /** 鱼类名称 */
    @ApiModelProperty("鱼类名称")
    @Excel(name = "鱼类名称")
    private String fishType;

    /** 鱼类图片 */
    @ApiModelProperty("鱼类图片")
    @Excel(name = "鱼类图片")
    private String fishImage;

    /** 鱼类科属 */
    @ApiModelProperty("鱼类科属")
    @Excel(name = "鱼类科属")
    private String fishFamily;

    /** 鱼类简介 */
    @ApiModelProperty("鱼类简介")
    @Excel(name = "鱼类简介")
    private String fishProfile;

    /** 最大重量 */
    @ApiModelProperty("最大重量")
    @Excel(name = "最大重量")
    private String maxWeight;

    /** 最大长度 */
    @ApiModelProperty("最大长度")
    @Excel(name = "最大长度")
    private String maxLength;

    /** 生长水域 */
    @ApiModelProperty("生长水域")
    @Excel(name = "生长水域")
    private String growWaters;

    /** 平均深度 */
    @ApiModelProperty("平均深度")
    @Excel(name = "平均深度")
    private String averageDepth;

    /** IUCM状态 */
    @ApiModelProperty("IUCM状态")
    @Excel(name = "IUCM状态")
    private String iucmStatus;

    /** 平均重量 */
    @ApiModelProperty("平均重量")
    @Excel(name = "平均重量")
    private String averageWeight;

    /** 平均长度 */
    @ApiModelProperty("平均长度")
    @Excel(name = "平均长度")
    private String averageLength;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFishType(String fishType) 
    {
        this.fishType = fishType;
    }

    public String getFishType() 
    {
        return fishType;
    }
    public void setFishImage(String fishImage) 
    {
        this.fishImage = fishImage;
    }

    public String getFishImage() 
    {
        return fishImage;
    }
    public void setFishFamily(String fishFamily) 
    {
        this.fishFamily = fishFamily;
    }

    public String getFishFamily() 
    {
        return fishFamily;
    }
    public void setFishProfile(String fishProfile) 
    {
        this.fishProfile = fishProfile;
    }

    public String getFishProfile() 
    {
        return fishProfile;
    }
    public void setMaxWeight(String maxWeight) 
    {
        this.maxWeight = maxWeight;
    }

    public String getMaxWeight() 
    {
        return maxWeight;
    }
    public void setMaxLength(String maxLength) 
    {
        this.maxLength = maxLength;
    }

    public String getMaxLength() 
    {
        return maxLength;
    }
    public void setGrowWaters(String growWaters) 
    {
        this.growWaters = growWaters;
    }

    public String getGrowWaters() 
    {
        return growWaters;
    }
    public void setAverageDepth(String averageDepth) 
    {
        this.averageDepth = averageDepth;
    }

    public String getAverageDepth() 
    {
        return averageDepth;
    }
    public void setIucmStatus(String iucmStatus) 
    {
        this.iucmStatus = iucmStatus;
    }

    public String getIucmStatus() 
    {
        return iucmStatus;
    }
    public void setAverageWeight(String averageWeight) 
    {
        this.averageWeight = averageWeight;
    }

    public String getAverageWeight() 
    {
        return averageWeight;
    }
    public void setAverageLength(String averageLength) 
    {
        this.averageLength = averageLength;
    }

    public String getAverageLength() 
    {
        return averageLength;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fishType", getFishType())
            .append("fishImage", getFishImage())
            .append("fishFamily", getFishFamily())
            .append("fishProfile", getFishProfile())
            .append("maxWeight", getMaxWeight())
            .append("maxLength", getMaxLength())
            .append("growWaters", getGrowWaters())
            .append("averageDepth", getAverageDepth())
            .append("iucmStatus", getIucmStatus())
            .append("averageWeight", getAverageWeight())
            .append("averageLength", getAverageLength())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
